//
//  BCNSpcControlLimit.m
//  Beacon
//
//  Created by arden on 12/8/11.
//  Copyright 2011 Fried Chicken Legs. All rights reserved.
//

#import "BCNSpcControlLimit.h"


@implementation BCNSpcControlLimit

@synthesize double mean;
@synthesize double sigma;

@synthesize double TARGET;
@synthesize double UCL;
@synthesize double LCL;
@synthesize double UWL;
@synthesize double LWL;
@synthesize double UOL;
@synthesize double LOL; 

// init with trained data ( already have mean and sigma value)
-(void) initWithChartType:(BCNSpcChartType) ctype 
			  AndDataType:(BCNSpcDataType) dtype 
					 Mean:(double) meanValue 
					Sigma:(double) sigmaValue 
					 Size:(double) size
{
		if(self =[super init])
		{
			chartType = ctype;
			dataType = dtype;
			mean = meanValue;
			sigma = sigmaValue;
			sampleSize = size;
			[self ];
		}
}


// init with raw data (training to calculate mean and sigma value)
-(void) initWithChartType:(BCNSpcChartType) ctype 
			  AndDataType:(BCNSpcDataType) dtype 
					 Data:(NSArray*) data 
					 Size:(double) size 
			   Inspection:(BCNSpcScalarInspection) inspection
{
	
}

-(NSString) GetDescription
{
	
}

//
// --------------------------------------------------------
// private member functions



@end
